﻿
Partial Class logout
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
        If (Page.User.Identity.IsAuthenticated = False) Then
            Response.Redirect("~/login.aspx")
        Else
            FormsAuthentication.SignOut()
            Response.Redirect("~/login.aspx")
        End If
    End Sub
End Class
